//
//  MachineTranslationManager.h
//  GLUZ
//
//  Created by GS on 2025/2/23.
//  科大讯飞文字翻译翻译（新机器翻译）

#import <Foundation/Foundation.h>
typedef void (^TranslationSuccessBlock)(NSString *  src,NSString * _Nonnull dst);
typedef void (^TranslationFailureBlock)(NSError *  error);
NS_ASSUME_NONNULL_BEGIN

@interface MTManager : NSObject
+ (void)translationFrom:(NSString *)from to:(NSString *)to text:(NSString *)text success:(TranslationSuccessBlock)success failure:(TranslationFailureBlock)failure;
@end

NS_ASSUME_NONNULL_END
